renderBlur

fun renderBlur(context: DrawContext, x: Float, y: Float, delta: Float)

Applies the blur shader to the current drawn elements. This is used to blur stuff behind guis, but can be used for whatever else.

You'll still have to write to the buffers after using this.

Author

fzzyhmstrs

Since

0.6.1

Parameters

context

DrawContext

x

horizontal position of element, or 0 for blank screen/blur rendered at the start of whole-screen rendering

y

vertical position of element, or 0 for blank screen/blur rendered at the start of whole-screen rendering

delta

the tickDelta (unused in 1.21.x)


Deprecated

Planned for removal 0.7.0, use applyBlur(DrawContextFFF) instead

Applies the blur shader to the current drawn elements. This is used to blur stuff behind guis, but can be used for whatever else.

You'll still have to write to the buffers after using this.

Author

fzzyhmstrs

Since

0.6.0